package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.entity.dto.ScmOutsourcingContractParam;
import com.xinsoft.entity.po.ScmOutsourcingContract;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xinsoft.entity.vo.ScmOutsourcingContractDetailVo;
import com.xinsoft.entity.vo.ScmOutsourcingContractPageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author ZYM
* @description 针对表【scm_outsourcing_contract(委外合同)】的数据库操作Mapper
* @createDate 2023-08-29 16:23:20
* @Entity com.xinsoft.entity.po.ScmOutsourcingContract
*/
public interface ScmOutsourcingContractMapper extends BaseMapper<ScmOutsourcingContract> {

    IPage<ScmOutsourcingContractPageVo> findPageListByParam(Page<ScmOutsourcingContractPageVo> page, @Param("param") ScmOutsourcingContractParam param);
    List<ScmOutsourcingContractPageVo> findPageListByParam(@Param("param") ScmOutsourcingContractParam param);

    ScmOutsourcingContractDetailVo getOutsourcingContractById(Integer id);
}




